import * as type from './mutattion_types'

export default {
  [type.SET_VIMNUM](state, VimNum) {
    state.VimNum = VimNum
  },
  [type.SET_VIMBASEDATA](state, VimBaseData) {
    state.VimBaseData = VimBaseData
  },
  [type.SET_VIMOLDDATA](state, VimOldData) {
    state.VimOldData = VimOldData
  },
  [type.SET_VIMCHANGEDCCW](state, VimChangedCcw) {
    state.VimChangedCcw = VimChangedCcw
  },
  [type.SET_VIMCHANGEDCTH](state, VimChangedCth) {
    state.VimChangedCth = VimChangedCth
  },
  [type.SET_VIMCHANGEDESCF](state, VimChangedEscf) {
    state.VimChangedEscf = VimChangedEscf
  },
  [type.SET_CCWEVALUTERSULT](state, CCWEvaluteRsult) {
    state.CCWEvaluteRsult = CCWEvaluteRsult
  },
  [type.SET_CTHEVALUTERSULT](state, CTHEvaluteRsult) {
    state.CTHEvaluteRsult = CTHEvaluteRsult
  },
  [type.SET_ESCFEVALUTERSULT](state, ESCFEvaluteRsult) {
    state.ESCFEvaluteRsult = ESCFEvaluteRsult
  },
  // 品牌列表
  [type.SET_CCWPPLIST](state, ccwPPList) {
    state.ccwPPList = ccwPPList
  },
  [type.SET_CTHPPLIST](state, cthPPList) {
    state.cthPPList = cthPPList
  },
  [type.SET_ESCFPPLIST](state, escfPPList) {
    state.escfPPList = escfPPList
  },
  // 新方式
  [type.SET_CCWCONDITION](state, ccwCondition) {
    state.ccwCondition = ccwCondition
  },
  [type.SET_CTHCONDITION](state, cthCondition) {
    state.cthCondition = cthCondition
  },
  [type.SET_ESCFCONDITION](state, escfCondition) {
    state.escfCondition = escfCondition
  },
  [type.SET_COMMONCONDITION](state, commonCondition) {
    state.commonCondition = commonCondition
  },
}